﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SpeakOut.Model;

namespace SpeakOut.Service
{
    public interface IAdminService
    {
        IList<Post> GetPosts();
        Post GetPost(Guid postId);
        IList<Category> GetCategories();
        IList<Category> GetCategories(IEnumerable<Guid> ids);
        Author GetAuthor(string login);
        Author GetAuthor(Guid authorId);
        void SavePost(Post post);
        void SaveCategory(Category category);
    }
}
